#include "Emitter.h"

Emitter::Emitter()
: m_pVertexBuffer(NULL)
, m_pVertData(NULL)
{
}
Emitter::~Emitter()
{
	//Clean up
	if(m_pVertexBuffer)
	{
		m_pVertexBuffer->Release();
		m_pVertexBuffer = NULL;
	}
	if(m_pParticles)
	{
		delete [] m_pParticles;
		m_pParticles = NULL;
	}
}